package org.redmaple.core.template.model;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * 可进行备份删除的Model基类
 * 
 * @author Xiangyun
 *
 */
@MappedSuperclass
@SuppressWarnings("serial")
public abstract class BakModel extends BaseModel {
	/**
	 * 是否处于被删除状态
	 */
	private boolean deletedStatus;
	
	/**
	 * 删除时间
	 */
	private Timestamp deleteTime;

	@Column(name="isDelete")
	public boolean getDeletedStatus() {
		return deletedStatus;
	}
	public void setDeletedStatus(boolean deletedStatus) {
		this.deletedStatus = deletedStatus;
	}
	
	public Timestamp getDeleteTime() {
		return deleteTime;
	}
	public void setDeleteTime(Timestamp deleteTime) {
		this.deleteTime = deleteTime;
	}
}
